github.com/klauspost/compress/zstd.jobState.filling (field)
45 uses
github.com/klauspost/compress/zstd (current package)
enc_jobs.go#L25: filling []byte // accumulates input up to jobSize
enc_jobs.go#L264: if final && len(js.filling) > 0 && len(js.filling) <= e.o.blockSize {
enc_jobs.go#L265: s.current = e.encodeAll(s.encoder, js.filling, s.current[:0])
enc_jobs.go#L272: s.nInput += int64(len(js.filling))
enc_jobs.go#L274: js.filling = js.filling[:0]
enc_jobs.go#L280: if final && len(js.filling) == 0 && !e.o.fullZero {
enc_jobs.go#L305: if len(js.filling) == 0 && !final {
enc_jobs.go#L314: outputEst := max(len(js.filling)/2, 512)
enc_jobs.go#L330: if !final && len(js.filling) > 0 {
enc_jobs.go#L331: overlapLen := min(js.overlapSize, len(js.filling))
enc_jobs.go#L333: copy(np, js.filling[len(js.filling)-overlapLen:])
enc_jobs.go#L338: job.input = js.filling
enc_jobs.go#L339: js.filling = js.getInputBuf(js.jobSize)
encoder.go#L113: js.filling = js.filling[:0]
encoder.go#L218: if cap(js.filling) == 0 && len(p) > 0 {
encoder.go#L219: js.filling = make([]byte, 0, jobSize)
encoder.go#L222: if len(p)+len(js.filling) < jobSize {
encoder.go#L226: js.filling = append(js.filling, p...)
encoder.go#L230: if len(p)+len(js.filling) > jobSize {
encoder.go#L231: add = add[:jobSize-len(js.filling)]
encoder.go#L236: js.filling = append(js.filling, add...)
encoder.go#L239: if len(js.filling) < jobSize {
encoder.go#L503: if len(js.filling) > 0 {
encoder.go#L509: if cap(js.filling) < jobSize {
encoder.go#L510: js.filling = make([]byte, 0, jobSize)
encoder.go#L512: js.filling = js.filling[:jobSize]
encoder.go#L513: src := js.filling
encoder.go#L523: js.filling = js.filling[:len(js.filling)-len(src)]
encoder.go#L536: if cap(js.filling) < jobSize {
encoder.go#L537: js.filling = make([]byte, 0, jobSize)
encoder.go#L539: js.filling = js.filling[:jobSize]
encoder.go#L540: src = js.filling
encoder.go#L574: if len(js.filling) > 0 {
encoder.go#L663: if len(js.filling) == 0 && !s.headerWritten && !s.eofWritten && s.nInput == 0 {
encoder.go#L703: frame, err := skippableFrame(js.filling[:0], add, rand.Reader)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |